home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-1294.lzh / AMOSLIST / text0064.txt < prev    next >
Encoding:
Text File  |  1995-01-03  |  812 b   |  20 lines

  1. > One thing i would like to know: I see there is an example of a breakout game in
  2. > the AMOS Pro help files, but the blocks are all represented by bobs. I think
  3. > this is a cheat, as an attempt to program a proper breakout game using bobs
  4. > only would probably exceed the maximum number of bobs.
  5. > I thought it might be possible to do this using Paste Bob to set up a screen,
  6. > but how could one program a collision detection system that would make the ball
  7. > bounce off the outline of each block, and then allow one to delete it and
  8. > replace it with a background icon?
  9.  
  10. You would use Paste Bob, and store all the blocks in an array, checking
  11. each position in the array as the ball passes over it.
  12.  
  13. Dom
  14.  
  15. --
  16. Dominic Ramsey      email: dom@dynamo.demon.co.uk
  17. http://www.gate.net/user/play/people/dramsey.html
  18.  
  19.